{if defined("xlist")&&!!xlist.length}
  {list xlist as x}<div class="zitm" data-value="${x}">${x}</div>{/list}
{/if}